{% extends "base.html" %}

{% block body %}
    <!-- Fixed navbar -->
    <nav class="navbar navbar-inverse navbar-fixed-top">
      <div class="container">
        <div class="navbar-header">
          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="navbar-brand" href="/">Django No-Vue 高域传媒 - {{ user.username }}</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
          {% block nav %}
          <ul class="nav navbar-nav">
            <li class="active"><a href="/account/billing/">报价单</a></li>
            {% if user in operators %}
            <li><a href="/account/customer/">客户信息</a></li>
            {% endif %}
            <li><a href="/admin/">管理</a></li>
            <li><a href="/logout/">退出</a></li>
          
          </ul>
          {% endblock %}
        </div><!--/.nav-collapse -->
      </div>
    </nav>

    {% block content %}{% endblock %}

    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="/static/assets/js/vendor/jquery.min.js"></script>
    <script src="/static/dist/js/bootstrap.min.js"></script>
    <script src="/static/assets/js/docs.min.js"></script>
    
{% endblock %}